#ifndef _PROTOTYPE_MICR_
#define _PROTOTYPE_MICR_

void out_byte(port outport, int8 value);
int8 in_byte(port inport);

void disp_color_str(char * info, int color);
void disp_str(char * info);
PUBLIC char * itoa(char * str, int num);
PUBLIC void disp_int(int input);
PUBLIC char * itoa_decimal(char * str, int num);
PUBLIC void disp_int_dec(int input);

PUBLIC void init_idt_desc(unsigned char vector, int8 desc_type, t_pf_int_handler handler, unsigned char privilege);
PUBLIC void init_8259A();

PUBLIC void init_prot();
PUBLIC void spurious_irq(int irq);
PUBLIC void delay(int time);
PUBLIC int32 seg2phys(int16 seg);
PUBLIC void init_descriptor(DESCRIPTOR * p_desc, int32 base, int32 limit, int16 attribute);
PUBLIC void initProcess();
PUBLIC void sys_call_disp_str(char * info);
PUBLIC void print_str(char *info);
PUBLIC void clear_screen();
PUBLIC void init_keyboard();

PUBLIC void int_cli();
PUBLIC void int_sti();

PUBLIC void kill_curr_proc();
#endif
